package com.wuyoucar.service.impl;

import com.wuyoucar.entity.TCarinfo;
import com.wuyoucar.mapper.TCarinfoMapper;
import com.wuyoucar.service.ITCarinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 这是根据车架号前台用户填写的车辆信息是否存在
 */
@Service
public class ITCarinfoServiceImpl implements ITCarinfoService {
    @Autowired
    private TCarinfoMapper tCarinfoMapper;
    //根据车架号查询车辆的信息
    @Override
    public TCarinfo findCarinfoByVin(Map<String,String>map) {
        return tCarinfoMapper.selectCarinfoByVin(map);
    }
}
